import { request } from "@/utils/service"
// 后台客户管理
export function getCustomDepartmentList(data: any) {
  return request({
    url: "/bg/custom/getList",
    method: "post",
    data
  })
}
//保存或修改
export function saveOrUpdateCustomDepartment(data: any) {
  return request({
    url: "/bg/custom/saveOrUpdate",
    method: "post",
    data
  })
}

//根据id删除
export function deleteCustomDepartmentById(data: any) {
    return request({
      url: "/bg/custom/deleteById",
      method: "post",
      data
    })
}
